import Vue from "vue";
import VueRouter from 'vue-router';
import shopclassify from '../pages/shopclassify.vue';
import shoppingcar from '../pages/shoppingcar.vue';
import Index from "../pages/index.vue";
import Login from "../pages/login.vue";
import Register from "../pages/register.vue";
import detail from '../pages/detail.vue';
import my from '../pages/my.vue';
import match from '../pages/TotalContent.vue';
import state from '../pages/StateTotal.vue';

Vue.use(VueRouter);
const router= new VueRouter({
    routes: [
        {path:"/shopclassify",component:shopclassify},
        {path:"/shoppingcar",component:shoppingcar},
        {path:"/",component:Index},
        {path:"/login",component:Login},
        {path:"/register",component:Register},
        {path: '/my',component: my},
        {path: '/detail',component:detail},
        {path:"/match",component:match},
        {path:"/state",component:state},

    ]
});
module.exports=router;
